From: Kenichi Handa Date: Wed, 28 May 1997 04:36:26 +0000 (+0000) Subject: (struct iso2022_spec): Member requested_designation is X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~81072 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=da30d5b1b85cd3ae6d28fe5366cd6e624a6316af;p=emacs.git (struct iso2022_spec): Member requested_designation is changed to array of unsigned char. (CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION): New macro. --- diff --git a/src/coding.h b/src/coding.h index f0b4033d107..0c119999ddf 100644 --- a/src/coding.h +++ b/src/coding.h @@ -149,7 +149,7 @@ struct iso2022_spec int initial_designation[4]; /* A graphic register to which each charset should be designated. */ - int requested_designation[MAX_CHARSET + 1]; + unsigned char requested_designation[MAX_CHARSET + 1]; /* Set to 1 temporarily only when graphic register 2 or 3 is invoked by single-shift while encoding. */ @@ -173,6 +173,12 @@ struct iso2022_spec #define CODING_SPEC_ISO_BOL(coding) \ coding->spec.iso2022.bol +/* A value which may appear in + coding->spec.iso2022.requested_designation indicating that the + corresponding charset does not request any graphic register to be + designated. */ +#define CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION 4 + /* Return a charset which is currently designated to the graphic plane PLANE in the coding-system CODING. */ #define CODING_SPEC_ISO_PLANE_CHARSET(coding, plane) \